home *** CD-ROM | disk | FTP | other *** search
/ PC for Alla 2005 May / PC för Alla 0505.iso / fullversioner / realsoft3d / data1.cab / Scripting / scripts / js / real / gadget / r3scalef.js < prev    next >
Encoding:
JavaScript  |  2005-04-04  |  1013 b   |  52 lines

  1.  
  2. // JavaScript wrapper for r3scalef.h
  3. // Auto generated file, do not modify by hand
  4. // Copyright ⌐ 2004, Realsoft Graphics Oy
  5.  
  6. var R3_R3SCALEFLOATGADGET_H = 1;
  7. include("oops/r3gadget.js")
  8.  
  9.  
  10. var R3CLID_SCALEFLOATGADGET = 656;
  11.  
  12.  
  13.  
  14.  
  15. // Description: For internal mapchanges.    
  16.  
  17. R3SFGM_WINDOWEVENT = 656000;
  18.  
  19. function mR3SFGM_WINDOWEVENT() {
  20.   DoA(this.r3obj, 656000, 0, R3TID_INTEGER, 0);
  21. }
  22.  
  23. // Description: These are called when the user is playing with the scale gadget
  24. // Virtual method
  25. // p3: Number, scale factor.
  26.  
  27. R3SFGM_SCALE = 656003;
  28.  
  29. function mR3SFGM_SCALE(p3) {
  30.   DoA(this.r3obj, 656003, p3, R3TID_FLOAT, 0);
  31. }
  32.  
  33.  
  34.  
  35.  
  36. var R3SFGA_Scale = 656500; // Number
  37.  
  38.  
  39. function r3Scalefloatgadget () { 
  40.    this.base = r3God;
  41.    if(arguments.length) {
  42.       this.base(R3CLID_SCALEFLOATGADGET, arguments);
  43.    }
  44.    // Methods
  45.    this.WINDOWEVENT=mR3SFGM_WINDOWEVENT;
  46.    this.SCALE=mR3SFGM_SCALE;
  47.  
  48.    // Attributes
  49. }
  50.  
  51. r3Scalefloatgadget.prototype=new r3Gadget;
  52. // r3scalef.h_H